class CreateMatches < ActiveRecord::Migration
  def change
    create_table :matches do |t|
      t.text :title, null: false
      t.integer :user_id
      t.integer :transaction_id
      t.timestamp :timeleft, null: false

      t.timestamps
    end
  end
end
